if(NOT WITH_LIBDNF5_CLI)
    return()
endif()


# use any tests found under the current directory
file(GLOB_RECURSE RUBY_TESTS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.rb)


foreach(FILE ${RUBY_TESTS})
    add_ruby_test(libdnf5_cli "${FILE}")
endforeach()
